pp108 : onresponse Event (Busdataisland)

onresponse Event (Busdataisland)


This event is fired when the XMLHTTP receives a SOAP response from the Gateway.

Syntax

Inline HTML

<div cordysType="wcp.libaray.data.BusDataIsland id= "busdataislandID"  onresponse="handler()"...>
...
</div>

Event property

busdataislandID.onresponse = handler


Event Information

To Invoke

Send a request to the back end through busdataisland through sendAndWait() or reset() methods.

Default Action

Receives the response from the backend and initiates any action associated with this event.


Event Object Properties


Although event handlers in the DHTML Object Model do not receive parameters directly, a handler can query an event object for data.

Property

Description

replaceData

Boolean that indicates whether the response returned from the backend should replace the data shown in front end.

  • true- Default. Replaces the data displayed with the response data.
  • false- adds the response data to the data available in the front end without replacing.

response

Read-only. Object that contains the response XML received from the gateway.

returnValue

Boolean that sets or retrieves one of the following values

  • true (Default) - Response will be set to the data property and fires other events which allows rendering the response.
  • false - Response will not be set to the data property.

tuplesLength

Integer that contains the number of tuples present in the response XML. This will also count the tuples present inside the soap:detail when the onsoapfault event is fired.


See Also


busdataisland